package itdep.domain.event;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import java.util.Date;

/**
 * @author kara (latest modification by kara)
 * @version $Revision: 11 $   $Date: 2010-06-16 10:18:57 +0000 (Wed, 16 Jun 2010) $
 */
@Entity
@DiscriminatorValue(value = "8")
public class OnVacationEvent extends StudentEvent {

	@Column(name = "START_VACATION", nullable = true, insertable = true, updatable = true)
	private Date startVacation;
	@Column(name = "FINNISH_VACATION", nullable = true, insertable = true, updatable = true)
	private Date finnishVacation;

	public Date getStartVacation() {
		return startVacation;
	}

	public void setStartVacation(Date startVacation) {
		this.startVacation = startVacation;
	}

	public Date getFinnishVacation() {
		return finnishVacation;
	}

	public void setFinnishVacation(Date finnishVacation) {
		this.finnishVacation = finnishVacation;
	}
}